#ifndef SHIFT_REGISTER_H
#define SHIFT_REGISTER_H

#include <stdint.h>
#include <avr/io.h>

/*Serial output kram*/
#define PORTSER     PORTA
#define PORTRCK     PORTC
#define PORTSCK     PORTD
#define SER         (1<<7)
#define RCK         (1<<7)
#define SCK         (1<<6)




void initShiftReg( void );
void SetVolumeAndInput(int Volume, int Input);
void SendBitShiftReg(int value, int EnableOutput);
 




#endif //SHIFT_REGISTER_H
